package com.nisco.service;

import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.List;

@Service
public class MainService {
    public String demo() {
        Boolean success;
        List<String> list = new ArrayList<String>();
        list.add("22");
        //warn
        List<String> test = (ArrayList<String>) list.subList(0, 1);
        return "bbb";
    }
}
